<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="referrer" content="no-referrer" />
    <title>Title</title>
    <link rel="stylesheet" href="{{ url_for('blog.static', filename='css/main.css') }}">
    <link rel="stylesheet" href="{{ url_for('blog.static', filename='layui/css/layui.css') }}">
    <script type="text/javascript" src="{{ url_for('blog.static', filename='layui/layui.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('blog.static', filename='js/canvas-nest.js') }}"></script>
    {% block head %}{% endblock %}
</head>

<body>
<script type="text/javascript" src="{{ url_for('blog.static', filename='js/canvas-nest.js') }}" color="18,214,120"
        opacity="0.7" count="200"></script>
{% block body %}
    {% block header %}
        <header class="header">
            <div class="layui-container">
                <a href="/" class="logopic">
                    <img src="{{ url_for('blog.static', filename='imgs/logo.png') }}" alt="">
                </a>
                <a href="/" class="title">
                    <h2>QD_blog</h2>
                </a>

                <span>天青色等烟雨 而我在等你</span>
                <ul class="layui-nav layui-layout-right">
                    <li class="layui-nav-item">
                        <a href="/">首页</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="{{ url_for('blog.record') }}">归档</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="{{ url_for('blog.note', curr='1') }}">笔记</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="{{ url_for('blog.message') }}">留言</a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="{{ url_for('blog.about') }}">关于</a>
                    </li>
                </ul>
            </div>
        </header>

    {% endblock %}

    {% block content %}
        <div class="layui-container">
            <div class="layui-row layui-col-space15">
                {# 中心区内容 #}

                {# 右边侧边栏 #}
                <div class="layui-col-md3">
                    {% include 'common/sidebar.html' %}
                </div>
            </div>
        </div>
    {% endblock %}

    {% block footer %}
        <footer class="footer">
            <p>Copyright&nbsp;&nbsp;© &nbsp;2023&nbsp;&nbsp;Qing-Deng</p>
        </footer>
    {% endblock %}

    {% block script %}
    {% endblock %}
{% endblock %}


</body>
</html>